package com.goldcn.picture.dao;

import com.goldcn.picture.model.PicEnshrine;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface PicEnshrineMapper {
    int deleteByPrimaryKey(Long enshrineid);

    int insert(PicEnshrine record);

    int insertSelective(PicEnshrine record);

    PicEnshrine selectByPrimaryKey(Long enshrineid);

    int updateByPrimaryKeySelective(PicEnshrine record);

    int updateByPrimaryKey(PicEnshrine record);

    List<Map> selectUserPicEnshrine(Long userID);

    int selectByUserPic(Long userid,Long pictureid);

    int deleteByUserEnshrine(Long userid,Long pictureid);
}
